deploy: Change large parts to be fd-relative, drop fsync
authorColin Walters <walters@verbum.org>
Mon, 20 Apr 2015 19:51:24 +0000 (15:51 -0400)
committerColin Walters <walters@verbum.org>
Sat, 19 Dec 2015 13:24:51 +0000 (08:24 -0500)
commit1810de2b51680dbf35fdbd33d0a8d7e65eadc91f
tree34548763ee542cc33d2e4d29fc240d70a6039807
parent3a4f90cf8e30284f336918ffb0c3bd56f4cb3fde
deploy: Change large parts to be fd-relative, drop fsync

This is a continuation of earlier work to drop the individual fsync on
files/directories in favor of relying on `syncfs()` for speed.

As part of that cleanup, I'm porting it to be fd-relative.

I feel relatively confident about this change given that this area of
the code has notable test suite coverage, although that code runs as
non-root.
src/libostree/ostree-sysroot-deploy.c